<?php
// js  php .net  jsp mysql linux dw vi 
//字符串的CURD
// $preg = "/abc/";
// var_dump(preg_match($preg,"TYTYabcTUI"));
include "../functions.php";
$uname = $_POST['uname'];
if(!preg_match("/^[a-z]\w{5,19}$/",$uname)){
	header("refresh:3;url=1.php");
	echo "用户名非法";
}
?>